package com.hailian.fintech.feignserver.feign;

import com.hailian.fintech.hlfinanceserver.entity.Jiaoyi;
import com.hailian.fintech.hlfinanceserver.entity.Tixian;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(name = "hl-finance-server")
public interface TixianFeign {
    @RequestMapping("tixian/addTixian")
    @ResponseBody
    public Object addTixian(@RequestBody Tixian tixian);

    @RequestMapping("jiaoyi/addJiaoyi")
    @ResponseBody
    public Object addJiaoyi(@RequestBody Jiaoyi jiaoyi);
}
